import { NgModule } from '@angular/core'
import { Routes, RouterModule } from '@angular/router'

const routes: Routes = [
  {
    path: 'task-management',
    loadChildren: 'app/+data-statistics/+task/+task-management/task-management.module#TaskManagementModule'
  },
  {
    path: 'order-management',
    loadChildren: 'app/+data-statistics/+task/+order-management/order-management.module#OrderManagementModule'
  },
  {
    path: 'order-monitor',
    loadChildren: 'app/+data-statistics/+task/+order-monitor/order-monitor.module#OrderMonitorModule'
  },
  {
    path: 'taskBoard',
    loadChildren: 'app/+data-statistics/+task/+taskBoard/taskBoard.module#TaskBoardModule'
  },
  {
    path: 'task-manage',
    loadChildren: 'app/+data-statistics/+task/+task-manage/task-manage.module#TaskManageModule'
  },
  {
    path: 'order-gps',
    loadChildren: 'app/+data-statistics/+task/+order-gps/order-gps.module#OrderGPSModule'
  },
  {
    path: 'algorithm-order',
    loadChildren: 'app/+data-statistics/+task/+algorithm-order/algorithm-order.module#AlgorithmOrderModule'
  },
  {
    path: 'push-flow',
    loadChildren: 'app/+data-statistics/+task/+push-flow/push-flow.module#PushFlowModule'
  },
  {
    path: 'fence',
    loadChildren: 'app/+data-statistics/+task/+fence/fence.module#FenceModule'
  },
  {
    path: 'fence/edit',
    loadChildren: 'app/+data-statistics/+task/+fence-edit/fence-edit.module#FenceEditModule'
  }
]

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class TaskRoutingModule {}
